home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / dskut / pgpshe32.zip / PGPSHELL.TXT < prev    next >
Text File  |  1994-07-05  |  74KB  |  1,534 lines

  1.  
  2.                           -= P G P S h e l l =-
  3.  
  4.  
  5.  
  6.              Official Menu-Driven Shell of the 1996 Olympics!
  7.  
  8.            Endorsed by the Saddam Hussein Downhill Ski Team, the
  9.             National Secrecy Agency, and the Captain Midnight
  10.                      "Secret Decoder Ring" Fan Club
  11.  
  12.  
  13.                  (c) copyright by James Still 1992-1994
  14.                   of the Hieroglyphic Voodoo Machine BBS 
  15.               in snowy, hippie-laden Boulder, Colorado, U.S.A.
  16.                            All Rights Reserved
  17.  
  18.  
  19.                   PGPShell v 3.2 is released as shareware;
  20.           please distribute this program to a local BBS near you!
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29. QUICK START
  30. ---------------------------------------------------------------------------
  31.  
  32. Create a C:\PGPSHELL directory and copy the program contents into it.
  33. Before running PGPSHELL.EXE, make sure your "pgppath" and "tz" DOS
  34. environment variables are set correctly.  If you want to check a sig
  35. or decrypt a file just run PGPShell like this:  PGPSHELL <cipherfile>.
  36.  
  37. [New for PGPShell v3.2]
  38. Beginning with v3.2, PGPShell uses four configuration items that are 
  39. located *outside* the program and in PGP's CONFIG.TXT file.  Three
  40. of the items are PGPShell-specific and are:
  41.  
  42.                 #shellkeyfile="c:\pgp\pubring.pgp"
  43.                 #shellmessagedir="c:\pgpshell\docs"
  44.                 #shelleditor="c:\dos\edit.com"
  45.  
  46. and the fourth one is PGP-specific (which PGPShell now uses) and is:
  47.                 
  48.                 #MyName="Johannes Kepler"
  49.  
  50. The three PGPShell-specific configuration options are optional but
  51. the MyName variable is MANDATORY.  You must edit your CONFIG.TXT file
  52. and enter your own UserID on the MyName line (in quotes) or PGPShell
  53. will not display your key correctly in the Key Management Screen.
  54.  
  55. Unlike MyName the other three PGPShell config items (shellkeyfile, 
  56. shellmessagedir, and shelleditor) *must* begin with a pound '#' sign. 
  57. If you leave it out at the beginning PGP will attempt to read it, and
  58. you'll choke out PGP.
  59.  
  60. Shellkeyfile should be the complete path name to the default key ring 
  61. that you want PGPShell to load upon startup.  (If shellkeyfile is not 
  62. located in CONFIG.TXT, PGPShell will look for your pubring.pgp file 
  63. located at PGPPATH as the default.)  "Shellmessagedir" is the pathname
  64. that you want PGPShell to go to to retrieve, and place text files that
  65. you create during the en/decryption process.  The default for this 
  66. item is the current directory that PGPShell is run from.  The last
  67. config item, "Shelleditor" is the full path and executable name of an
  68. optional external text editor to use in lieu of the internal PGPShell 
  69. editor.  Of course PGPShell's own editor is the default should you
  70. not designate a "shelleditor" configuration item in the CONFIG.TXT.
  71.  
  72.  
  73.  
  74. INTRODUCTION
  75. --------------------------------------------------------------------------
  76.  
  77. PGPShell is a menu-driven front-end "shell" that manages Phil
  78. Zimmermann's Pretty Good Privacy (PGP) public-key, data encryption
  79. program.  PGP is available at many Internet sites as PGP23A.ZIP.
  80. Also PGPShell is compatible with MIT's PGP (v2.6) which uses a public 
  81. domain RSA toolkit (unlike v2.3a) and is available on many Internet 
  82. sites as PGP26.ZIP.  See the "WHAT_IS.PGP" file accompanying PGPShell 
  83. for more details.
  84.  
  85. PGP is a UNIXish command-line application, which means that various
  86. switches must be used to perform tasks.  PGPShell merely takes this a
  87. step further by introducing a menu-driven environment where, with an
  88. optional mouse, you can point and click to various keys in order to
  89. perform those same actions as you would from the PGP command line.
  90.  
  91. PGPShell doesn't perform any data encryption on its own; everything
  92. is done by PGP and PGP alone.  The only difference is, PGPShell shows
  93. you the PGP commands in an easy-to-read, friendly format and will
  94. make your encryption life a lot easier!
  95.  
  96. Registered Users:  To properly install the registered version of 
  97. PGPShell on your computer, insert the PGPShell disk into your disk 
  98. drive and type "INSTALL" at the a: prompt.
  99.  
  100. There are two DOS environment variables that PGP uses in order to
  101. operate properly.  They are "TZ" (time zone) and "PGPPATH" (the
  102. DOS path statement to your PGP.EXE program).  To properly set them
  103. you must use the DOS command "SET" in this manner:
  104.  
  105.           set TZ=MST7         (or wherever your time zone is)
  106.           set PGPPATH=C:\PGP  (or wherever you keep PGP.EXE)
  107.  
  108. Set these environment variables before using PGPShell.
  109.  
  110. [New for PGPShell v3.2]
  111. Beginning with PGPShell v3.2, four external configuration variables
  112. located in PGP's CONFIG.TXT file are used.  They are "MyName," 
  113. "shellkeyfile," "shellmessagedir," and "shelleditor."  MyName is a PGP 
  114. item that many of you are already familiar with.  You should set the 
  115. item like this:
  116.  
  117.         MyName = "Johannes Kepler"  (or whatever your UserID is)
  118.  
  119. The MyName variable is the only configuration item that is required
  120. for proper use of PGPShell.  Failure to correctly enter your own
  121. UserID name in the CONFIG.TXT will cause erratic behavior when
  122. PGPShell displays your key in the Key Management Screen.
  123.  
  124. Note that the pound sign ('#') is absent, meaning that the MyName 
  125. variable item is PGP-specific.  The other three PGPShell-specific
  126. variables must have a pound sign inserted in front of them, because
  127. PGP does not know of their existence (they are used only by PGPShell)
  128. and will choke upon reading them.
  129.  
  130. The first of these PGPShell-specific configuration items is 
  131. "shellkeyfile."  It denotes the location of the keyring file that you 
  132. want PGPShell to load upon startup.  You should set it like this:
  133.  
  134.       #shellkeyfile="c:\pgp\pubring.pgp"  (or whatever you want)
  135.  
  136. The complete file path to the default key ring should be enclosed in 
  137. quotes and this key should be pointed to by the PGPPATH variable.  If 
  138. it isn't, PGPShell may behave strangely.  If you want to switch keyring 
  139. files from within PGPShell, press F5 (or click the left mouse button) at 
  140. the Key Management Screen and choose another keyring file.  More on
  141. that later however in the KMS section.
  142.  
  143. The second PGPShell-specific configuration item is "shellmessagedir."
  144. It denotes the location of the directory where you want to store and
  145. retrieve PGP-encrypted/decrypted text files.  Since these files tend
  146. to clutter up the main PGP or PGPShell directories over time, it is
  147. recommended that you create a subdirectory entitled something like,
  148. \MESSAGES so that you can keep them separate from the two programs. 
  149. If you do not wish to use a specific message directory, the default
  150. directory that you run PGPShell from will be used instead.
  151.  
  152. The last PGPShell-specific configuration item is "shelleditor."
  153. It denotes the directory location and executable file of an optional
  154. third-party text editor for use instead of PGPShell's internal editor.
  155. The internal editor is the default should you elect to not use a
  156. third-party editor.
  157.  
  158. Type "PGPSHELL" at the DOS prompt to execute the program.  You must
  159. have PGP installed on your computer before PGPShell will be able to
  160. allow you to encrypt or decrypt anything.  This is because PGPShell
  161. cannot perform data encryption on its own, it merely "talks" to PGP
  162. and tells it what to do.  If PGP is not properly installed, PGPShell
  163. will display a context-sensitive help screen that explains the
  164. problem and how you can fix it.
  165.  
  166. Optionally, you may add a filename to the command-line to skip the
  167. main menu to immediately decrypt a ciphertext file or to check the
  168. signature of a ciphertext file.  The syntax for this is:
  169.  
  170.                      PGPSHELL <filename> 
  171.  
  172. where "filename" is any legal DOS file that has been PGP encrypted.
  173.  
  174. If you want to check the file integrity of PGPShell type:
  175.  
  176.                      PGPSHELL crc
  177.  
  178. and the cyclical-redundancy test will run providing you with a
  179. 5-digit integer number.  Compare this number to the one reported
  180. in the readme file to make sure that your version of PGPShell is
  181. free from viruses, tampering, or other improprieties.  Note that
  182. the README.DOC is clear-signed with my key so that you can check
  183. to make sure that the README file itself has not been tampered 
  184. with!  To do this, run PGPSHELL.EXE and press F4 from within the
  185. Key Management Screen to add my key to your key ring.  (My public
  186. key is also available on my BBS if you want a clean, updated one.)
  187. After adding my key, quit to the Main Menu and choose menu item 2,
  188. "Decrypt a Message/Check Signature."  When the file dialogue box
  189. pops up, select the README.DOC and press ENTER.
  190.  
  191.  
  192.  
  193. MAIN MENU
  194. --------------------------------------------------------------------------
  195.  
  196. When you execute PGPSHELL.EXE, and after the copyright screen pops up,
  197. press any key (or move the mouse) to get to the main menu.  The main
  198. menu looks like Figure 1 below:
  199.  
  200.  
  201.              ╔═════════════════════════════════════════════╗
  202.              ║                  Main Menu                  ║
  203.              ║                                             ║
  204.              ║    1   Encrypt a Message                    ║
  205.              ║    2   Decrypt a Message/Check Signature    ║
  206.              ║    3   Conventionally Encrypt a File        ║
  207.              ║    4   Key Management                       ║
  208.              ║    5   Quit                                 ║
  209.              ║                                             ║
  210.              ╚═════════════════════════════════════════════╝
  211.              Fig. 1
  212.  
  213.  
  214. At any time you many press F1 for a context-sensitive help screen that
  215. will provide additional help on the currently highlighted main menu
  216. topic.  Also, you may press F2 to initiate the file viewer.  A pop up
  217. dialog box similar to Fig. 4 (below) will display asking you to choose
  218. the file you wish to view.  Just click on the file, or press ENTER, and
  219. it will promptly display. 
  220.  
  221. There are three ways to choose a main menu topic:  By pointing
  222. and clicking with a mouse, pressing ENTER after arrowing down to a
  223. topic, or pressing the hot-key (numbered one through five) of the
  224. desired topic.
  225.  
  226. I'll take you through a brief description of each menu topic, and then
  227. we'll get into more detail later.
  228.  
  229.  
  230.    Encrypt a Message
  231.    -----------------
  232.  
  233.    This menu option will allow you to prepare either a new, or a
  234.    previously composed text file for PGP encryption to one or more
  235.    recipients.  You may also prepare encrypted messages from the
  236.    Key Management Screen.  (See the Key Management Screen later in
  237.    this manual.)
  238.  
  239.  
  240.    Decrypt a Message
  241.    -----------------
  242.  
  243.    This menu option will allow you to decrypt or the check the
  244.    certifying signature that may be attached to a ciphertext file.
  245.    Upon choosing this option, a directory window will pop-up on the
  246.    screen and you will be prompted to select the ciphertext file
  247.    with either your mouse or by pressing ENTER.  Alternatively, you
  248.    may use this menu option from the PGPShell command line by using
  249.    the syntax:  PGPSHELL <ciphertext>.
  250.  
  251.  
  252.    Conventionally Encrypt a File
  253.    -----------------------------
  254.  
  255.    This PGP command is sometimes misunderstood by some PGP enthusiasts.
  256.    It uses the "-c" PGP command, and will archive any text file for
  257.    your own record keeping or security purposes.  Various files such
  258.    as tax records, sensitive memos or letters, proprietary source code,
  259.    are just a few examples of items you may want to conventionally
  260.    encrypt with PGP's single-key cryptography method.  You shouldn't
  261.    use this menu option to send something to another person (unless
  262.    there is a secure way of communicating the pass phrase to them) and
  263.    you should not use your secret key's pass phrase when conventionally
  264.    encrypting files.  Consult the PGP manual for the correct usage of
  265.    the conventional encryption option.
  266.  
  267.  
  268.    Key Management
  269.    --------------
  270.  
  271.    The Key Management Screen is the "meat and potatoes" of PGPShell,
  272.    and where you'll probably spend the most of your time when using
  273.    PGPShell.  Proper key management is critical with PGP and the Key
  274.    Management Screen will help you take proper control of your key
  275.    ring.  See the "Key Management Screen" portion of this manual for
  276.    more details on its usage.
  277.  
  278.  
  279.    Quit
  280.    ----
  281.  
  282.    This option exits the PGPShell program and returns you to DOS or
  283.    Windows.
  284.  
  285.  
  286.  
  287. Main Menu Encryption Option
  288. ---------------------------
  289.  
  290. If you choose to Encrypt a Message from the Main Menu, PGPShell will
  291. replace the Main Menu with a list of recipients (see Figure 2) and ask
  292. you to choose the person for whom your message is for.  The list will
  293. look like the Key Management Screen's UserID Box (see "Key Management
  294. Screen" section)
  295.  
  296.  
  297.                       Choose Recipients:
  298.                       ┌────────────────────────────┐
  299.   these two are  -->  │ √ Hober Mallow, Trader to  │
  300.     checkmarked  -->  │ √ Wendy O. Williams        │
  301.                       │   R. Weston Westrope       │
  302.                       │   Alan Bradley             │
  303.                       │   Lenny Bruce              │
  304.                       │   Nathaniel David Jones    
  305.                       └────────────────────────────┘
  306.                       Fig. 2
  307.  
  308.  
  309. Use the spacebar to checkmark one or more of the recipients in the UserID
  310. Box who you will be sending your PGP-encrypted message to.  If you change
  311. your mind press the Escape key.  When you are ready to continue, press
  312. ENTER.  For help at any time, press F1.  After you have pressed ENTER,
  313. PGPShell will ask you whether or not you wish to create a new message or
  314. open an existing text file.  A dialogue box will ask you "Create a New
  315. Message?" to which you may answer "Yes" or "No" (see Figure 3).
  316.  
  317.                       ┌───────────────────────┐
  318.                       │Create a New Message? Y│
  319.                       └───────────────────────┘
  320.                       Fig. 3
  321.  
  322.  
  323. The default is "Yes" but you can also choose "No" to prompt a pop up
  324. Directory Dialog Box to choose a file name (see Fig. 4 below).  If you
  325. answer "yes", you will go to the text editor where you can begin writing
  326. your message.  Pressing the ESC key, aborts this process and takes you
  327. back to the Main Menu.  See the section on Encryption Options for details
  328. on encrypting your plaintext file.
  329.  
  330.  
  331.  
  332. Main Menu Decryption Option
  333. ---------------------------
  334.  
  335.  
  336. When you choose to decrypt a cipherfile from the Main Menu, a pop up
  337. dialogue box (figure 4) is displayed over the Main Menu.  Double-click 
  338. the file or select the file and press the ENTER button to choose that 
  339. file for decryption.  
  340.  
  341.  
  342.             
  343.               ┌────── Choose an Encrypted PGP File ────────┐
  344.               │  Name:                                     │
  345.               │  *.pgp                              OK   ▄ │
  346.               │                                   ▀▀▀▀▀▀▀▀ │ 
  347.               │  Files:         Directories:               │
  348.               │  PUBRING.PGP    [..]              Cancel ▄ │
  349.               │  SECRING.PGP    [ -A- ]           ▀▀▀▀▀▀▀▀ │                
  350.               │                 [ -E- ]                    │
  351.               │                 [ -F- ]            Help  ▄ │
  352.               │                 [ -G- ]           ▀▀▀▀▀▀▀▀ │              
  353.               │                 [ -H- ]                    │
  354.               │                 [ -I- ]                    │                
  355.               │                 [ -M- ]                    │               
  356.               │                                            │                
  357.               │                                            │                
  358.               │                                            │
  359.               │                                            │                
  360.               │C:\PGP26                                    │               
  361.               │PUBRING.PGP     3764 Jul 01,1994  3:36p    A│               
  362.               └────────────────────────────────────────────┘                
  363.               Fig. 4
  364.  
  365.  
  366. If you change your mind when choosing a file for decryption, just press
  367. the ESC key or the Cancel button and you will be taken back to the Main 
  368. Menu.  See the section on Decryption Options for details on decrypting a 
  369. PGP-encrypted file.
  370.  
  371.  
  372.  
  373. Using PGPShell's Text Editor
  374. ----------------------------
  375.  
  376. With version 3.1, PGPShell has started using its own simple text editor.
  377. This is the default text editor, but if you should choose to use your
  378. own favorite text editor, set the configuration in your PGP CONFIG.TXT
  379. file by entering:  #shelleditor="c:\[pathname]\[executable]".  To use
  380. the DOS QBasic editor you would enter:  #shelleditor="c:\dos\edit.com"
  381.  
  382. If you need help while in the text editor, just press F1 for a pop up
  383. help screen.  After you have edited, or composed new from scratch, a
  384. text file for encryption, just press the Escape key.  You will be asked:
  385.  
  386.              Save and prepare for encryption? [y/n]
  387.  
  388. If you are satisfied with your message, answer "y" and PGPShell will
  389. process your message for encryption.  To abort the editor, just answer
  390. "no" and you will be taken back to the main menu (or to the Key
  391. Management Screen if you entered the text editor from there.)  The
  392. following commands are allowed in the PGPShell Editor:
  393.  
  394.        Key         Action Taken
  395.        ---         ------------
  396.  
  397.        F1          Displays a pop up help screen
  398.        Esc         Quit PGPShell Editor
  399.        Insert      Toggles between insert mode and overwrite mode
  400.        Home        Moves cursor to beginning of current line
  401.        End         Moves cursor to the end of current line
  402.        Alt-F       Toggles between all available foreground colors
  403.        Alt-B       Toggles between all available background colors
  404.  
  405.  
  406. In addition to these keys, the standard arrow keys and ENTER key will move
  407. you through the text.  Wordwrapping is automatically enabled so that your
  408. text will "wrap" to the next line if it is greater than the screen length.
  409.  
  410. The PGPShell Editor with some sample text looks like this:
  411.  
  412.  
  413.  
  414.  PGPShell Editor v 1.0    File: C:\PGPSHE30\TEST.TXT                 Ins
  415. ---+----1----+----2----+----3----+----4----+----5----+----6----+----7----
  416.  
  417.         Hey Ph00bar, howz it goin?  Nothing much over here at my end.  Oh
  418. yeah, I almost forgot to tell you, I won the lottery this morning--got 2
  419. million dollars burning a hole in my right hip pocket.  I'm going out to buy
  420. a Sparc workstation right now and getting my domain address hooked up in my
  421. smallish apartment tommorrow.  Well take care.
  422.  
  423.                                         - Johannes
  424.  
  425. -----------------------------------------------------------------------------
  426. Fig. 5
  427.  
  428.  
  429. The editor is similar to Microsoft's QBasic Interpreter that DOS 5.0+
  430. uses when you type EDIT.COM at the DOS prompt.  It is not designed
  431. for serious word processing however.  If you wish to load text files that
  432. are larger than 20K, you may get a memory error.  PGPShell must give PGP
  433. as much memory as possible (PGP is quite a large program) and so there's
  434. not much left over for text editing.  20K should be enough for 99.9% of 
  435. all of your encrypting needs, but in those rare cases where you're writing
  436. someone a very lengthy post, you may want to type and prepare the text
  437. outside of PGPShell.
  438.  
  439.  
  440.  
  441. Encryption Options
  442. ------------------
  443.  
  444. After you have prepared a text file for encryption, PGPShell will display
  445. a pop up dialog box (figure 6) and ask you to choose the Encryption Options
  446. for the message.  There are four options available to you when encrypting a
  447. file in PGPShell:
  448.  
  449.          o   Sign the plaintext with your secret key
  450.  
  451.          o   Shred the original file after encryption
  452.  
  453.          o   Force recipient to view "on-screen" only
  454.  
  455.          o   Clear sign the file instead of encrypting it
  456.  
  457.  
  458. For a full explanation of these PGP encryption options you should consult
  459. your PGP documentation, but I'll go over each one briefly.
  460.  
  461.          Sign   -   This option uses the PGP [-s] command and
  462.                     allows you to sign the file in addition to
  463.                     encrypting it.
  464.  
  465.          Shred  -   This option uses the PGP [-w] command and
  466.                     literally shreds the original plaintext
  467.                     after you have encrypted the ciphertext.
  468.  
  469.          Force  -   This option uses the PGP [-m] command and
  470.                     provides an extra layer of security to
  471.                     protect the decrypted file when it arrives
  472.                     at it's destination.
  473.  
  474.          Clear  -   This option uses the PGP [clearsig=on]
  475.                     option in your CONFIG.TXT file.  Useful for
  476.                     bulletins or flyers where you still want to
  477.                     prove your identity and authenticate the
  478.                     output of the clear signed file as valid.
  479.  
  480.  
  481. Here is what the Encryption Options dialog box looks like:
  482.  
  483.  
  484.                              Encryption Options
  485.  
  486.                  ┌──────────────────────────────────────────┐
  487.                  │  Sign the message with your secret key  │
  488.                  │   Shred the original after encryption    │
  489.                  │   Should recipient view on-screen only   │
  490.                  │   Clear sign the message; no radix-64    │
  491.                  └──────────────────────────────────────────┘
  492.                  Fig. 6
  493.  
  494.  
  495.  
  496. Notice that the pointer tool is currently positioned at the first item
  497. in this list.  To select "Sign" as an option, press the spacebar and a
  498. checkmark will appear to the left of the item:
  499.  
  500.                     ┌──────────────────────────────────────────┐
  501.   Checkmarked --->  │ √ Sign the message with your secret key  │
  502.  
  503.  
  504. If you change your mind, you can press the spacebar again to remove the
  505. item as an option (and the checkmark will disappear).  All of the items
  506. are optional, none are required for proper encryption with PGP.
  507.  
  508. Two PGP commands, Radix-64 ASCII encryption, and Canonical text (-a and
  509. -t respectively in PGP) are now automatically used in PGPShell.  They
  510. have both become a universal standard among PGP users worldwide and so
  511. they will be used by PGPShell as well.
  512.  
  513. Consult your PGP documentation for more information on the optional
  514. encryption switches available to you.
  515.  
  516.  
  517.  
  518.  
  519. Decryption Options
  520. ------------------
  521.  
  522. You may decrypt a ciphertext file in PGPShell by one of two ways: either
  523. at the DOS command line by typing PGPSHELL <filename> or by selecting
  524. "Decrypt a Message" at the Main Menu.
  525.  
  526. PGPShell will provide you the opportunity to choose none or all four
  527. decryption options from the Decryption Options dialog box  (see Figure 7).
  528. The options available to you when choosing to decrypt a ciphertext file in
  529. PGPShell are:
  530.  
  531.          o   Leave the signature on the message intact
  532.  
  533.          o   Recover the original plaintext while decrypting
  534.  
  535.          o   Detach signature certification from message
  536.  
  537.          o   Don't write to a file; view on-screen only
  538.  
  539.  
  540. For a full explanation of these PGP encryption options you should consult
  541. your PGP documentation, but I'll go over each one briefly.
  542.  
  543.          Leave    -   This option uses the PGP [-d] command and
  544.                       if checkmarked, will override PGP's default
  545.                       and leave any signatures intact.
  546.  
  547.          Recover  -   This option uses the PGP [-p] command and
  548.                       if checkmarked, will save the decrypted
  549.                       plaintext's original filename.
  550.  
  551.          Detach   -   This option uses the PGP [-b] command and
  552.                       will create a separate <FOO>.SIG file that
  553.                       contains the signature attached to the
  554.                       ciphertext file.
  555.  
  556.          View     -   This option uses the PGP [-m] command and
  557.                       forces the output to the screen (rather than
  558.                       PGP's default that saves to disk) when you
  559.                       read the decrypted plaintext.
  560.  
  561.  
  562. Here is what the Decryption Options dialog box looks like:
  563.  
  564.  
  565.                              Decryption Options
  566.  
  567.             ┌────────────────────────────────────────────────────┐
  568.             │  Leave the signature on the message intact        │
  569.             │   Recover the original plaintext while decrypting  │
  570.             │   Detach signature certification from message      │
  571.             │   Don't write to a file; view on-screen only       │
  572.             └────────────────────────────────────────────────────┘
  573.             Fig. 7
  574.  
  575.  
  576.  
  577. Notice that the pointer tool is currently positioned at the first item
  578. in this list.  To select "Leave" as an option, press the spacebar and a
  579. checkmark will appear to the left of the item:
  580.  
  581.                     ┌──────────────────────────────────────────────┐
  582.   Checkmarked --->  │ √ Leave the signature on the message intact  │
  583.  
  584.  
  585. If you change your mind, you can press the spacebar again to remove the
  586. item as an option (and the checkmark will disappear).  All of the items
  587. are optional, none are required for proper decryption with PGP.
  588.  
  589. Consult your PGP documentation for more information on the optional
  590. decryption switches available to you.
  591.  
  592.  
  593.  
  594.  
  595.  
  596. KEY MANAGEMENT SCREEN
  597. ---------------------
  598.  
  599. The Key Management Screen can be accessed from the Main Menu by either
  600. pressing "4" (hot-key), using the arrow keys to highlight "Key Management"
  601. and pressing ENTER, or by clicking once with your mouse when highlighted.
  602. When you wish to exit from here, just press the ESC key.
  603.  
  604. The Key Management Screen (the KMS if you will) is where all the action is 
  605. happening.  PGPShell has previously gathered all the relevent data concerning 
  606. your public key ring and presents it to you here in a logical, concise way.
  607. The KMS is divided into three "boxes," the UserID Box, located in the upper
  608. left-hand corner; the Function Key Box, located in the upper right-hand 
  609. corner; and the Current Key Box which fills the bottom two-thirds of the
  610. screen.  The entire KMS is shown here in Figure 8:
  611.  
  612. ┌─────────────────────────┐┌────────────────────────────────────────────────┐
  613. │   kat woman             │ F1 - Help                                      │
  614. │   Philip R. Zimmermann  ││ F2 - Edit/Copy key currently selected          │
  615. │   Harry Bush            ││ F3 - Compose message to checkmarked recipients │
  616. │  Johannes Kepler       ││ F4 - Add a new key to current key ring         │
  617. │   Fyodor Dostoyevsky    ││ F5 - Choose a different PGP key ring           │
  618. └─────────────────────────┘└────────────────────────────────────────────────┘
  619. ┌───────────────────────────────────────────────────────────────────────────┐
  620. │      UserID: Johannes Kepler                                              │
  621. │      E-mail: still@kailua.colorado.edu               KeyID: 4E4937        │
  622. │      Fingerprint: AD 29 BE 28 5D 2B 77 BE  F6 85 08 45 B6 2D 0B 36        │
  623. │                                                                           │
  624. │      Signatures Attached:               Your Trust of This Person:        │
  625. │                                                                           │
  626. │      Alan Bradley                                 marginal                │
  627. │      R. Weston Westrope                           marginal                │
  628. │      Nathaniel David Jones                        marginal                │
  629. │      Lenny Bruce                                  marginal                │
  630. │      Umberto Eco                                  complete                │
  631. │                                                                           │
  632. │                                                                           │
  633. │ This is your key...                                                       │
  634. │                                                                           │
  635. └───────────────────────────────────────────────────────────────────────────┘
  636.  Spacebar to checkmark UserID - ENTER/left-click to view stats - ESC to quit
  637.  
  638. Fig. 8
  639.  
  640.  
  641.  
  642. There's a lot going on here, so don't worry about it at first if you're
  643. intimidated by it all.  Lets take each section of the KMS individually and
  644. explain it in greater detail.
  645.  
  646.        The UserID Box
  647.        --------------
  648.  
  649.        The UserID Box displays a list of all of the people that are
  650.        on your public key ring in an easy-to-read, scrollable box shown
  651.        here in Figure 9:
  652.  
  653.                         ┌─────────────────────────┐
  654.                         │   kat woman             
  655.                         │   Philip R. Zimmermann  │
  656.                         │   Harry Bush            │
  657.                         │  Johannes Kepler       │
  658.                         │   Fyodor Dostoyevsky    │
  659.                         └─────────────────────────┘
  660.                         Fig. 9
  661.  
  662.  
  663.        The pointer tool () highlights the key that is currently chosen.
  664.        By pressing ENTER or clicking with your mouse, you can update the
  665.        contents of the Current Key Box (the bottom two-thirds of the KMS)
  666.        with information regarding that key.  In the above example, my key
  667.        "Johannes Kepler" has been highlighted (the pointer tool is set on
  668.        that key) and the Current Key Box displays information relevent to
  669.        my personal public key.  (I'll explain more about the information
  670.        in the Current Key Box later on.)
  671.  
  672.        When you move the mouse up and down (or arrow up and down) the
  673.        fields will automatically update to the current key chosen.
  674.  
  675.        The Function Key Box
  676.        --------------------
  677.  
  678.        The Function Key Box is nothing more than a static display to
  679.        remind you of what actions you may perform when in the KMS.
  680.        There are four function keys (F1 through F5) available to you.
  681.  
  682.        
  683.             ┌────────────────────────────────────────────────┐
  684.             │ F1 - Help                                      │
  685.             │ F2 - Edit/Copy key currently selected          │
  686.             │ F3 - Compose message to checkmarked recipients │
  687.             │ F4 - Add a new key to current key ring         │
  688.             │ F5 - Choose a different PGP key ring           │
  689.             └────────────────────────────────────────────────┘
  690.             Fig. 10
  691.  
  692.        
  693.        By pressing "F1" at any time, a context-sensitive help window 
  694.        will pop up with more detailed information to guide you in using
  695.        PGPShell.
  696.  
  697.        The "F2" key is reserved for editing or otherwise manipulating 
  698.        whichever key is currently highlighted.  In our above example,
  699.        if I wanted to remove some of the signatures from my public key,
  700.        (PGP's -krs command) all I would have to do is press F2 and a
  701.        popup menu will display.  More on that later.
  702.  
  703.        Press "F3" to immediately compose a PGP-encrypted e-mail to 
  704.        one or more persons "checkmarked" in the UserID Box.  To checkmark
  705.        a UserID, just press the spacebar when the highlight bar rests on
  706.        their name.  You may checkmark as many persons as you want to, but
  707.        at least one person must be checkmarked.  If you press F3 and no
  708.        one is checkmarked, an error message will briefly pop up on the
  709.        screen and no action will be taken.  I'll get into details about
  710.        encrypting a message to one or more recipients later on in this
  711.        documentation.
  712.  
  713.        Press "F4" to add a new key to the current key ring.  A directory
  714.        window will pop up asking you to select (with either your mouse or 
  715.        an arrow key and pressing ENTER) the DOS filename that contains the
  716.        external key you wish to add.  You can add any number of keys that
  717.        may be contained in a file and the file doesn't necessarily have to
  718.        contain only keys.  In other words, there can be several pages of
  719.        text with a key buried in the middle somewhere and PGP will find it 
  720.        okay.  This is often the case when a new found friend sends you a
  721.        PGP-encrypted text file and has put his public key at the end of it.
  722.  
  723.        [New for PGPShell v3.2]
  724.        Press "F5" to switch to another key ring.  (You may also click  
  725.        with the mouse to perform this function.)  Most people will use
  726.        two key rings, the PUBRING.PGP and the SECRING.PGP key ring files.
  727.        Quite a few others (families for instance) share the PGP.EXE file 
  728.        and each have their own key ring files.  With this function, you 
  729.        can switch and choose key rings to load into PGPShell.  Keep in 
  730.        mind that your key rings must be located where PGP can use them 
  731.        (in the PGPPATH DOS environment variable).  You cannot change the 
  732.        PGPPATH variable from within the shell.
  733.        
  734.        
  735.        Current Key Box
  736.        ---------------
  737.  
  738.        The Current Key Box is the "output" of the selection you make in
  739.        the UserID box when you press ENTER or click with your mouse.  It
  740.        will be constantly updated as you scroll through the keys on your
  741.        public key ring and click on different ones to view them.  The 
  742.        Current Key Box is divided up into three main sections: the Header,
  743.        the Signators, and the Trust Parameters.  Let's look at each one
  744.        individually:
  745.  
  746.        Header              The Header displays the UserID, E-mail address,  
  747.                            KeyID, and Fingerprint of the current key.  If
  748.                            PGPShell cannot determine an e-mail address for
  749.                            this key, a notice saying so will be displayed
  750.                            instead.
  751.  
  752.        Signators           The Signators section displays, in a column
  753.                            format, all of the signatures attached to this
  754.                            public key and your trust of that signator (if
  755.                            you have indicated so).  It is important to 
  756.                            remember that your trust of the signator is not
  757.                            the same as your trust of the person that these
  758.                            signature's are attached to!  You may trust 
  759.                            "Alice" very closely, but that doesn't mean
  760.                            that "John" who has signed her key is also 
  761.                            worthy of your trust.  PGP's "web of trust"
  762.                            concept will be discussed later in this doc.
  763.        
  764.        Trust Parameters    The bottom of the Current Key Box is reserved
  765.                            for two trust parameters:  your trust and PGP's 
  766.                            trust of this key.  They should not be confused,
  767.                            since your trust is yours alone, but PGP makes
  768.                            a trust determination based upon *all* signator's
  769.                            to the current key.  Again, this concept will be
  770.                            explained later in this documentation.
  771.  
  772.  
  773.  
  774.  
  775. F2 Function Key - Edit/Copy Key
  776. -------------------------------
  777.  
  778. Let's go into some greater detail on the inner workings of the last three
  779. function keys.  (F1 Help, I'm sure needs no further explanation)  When you  
  780. press F2 to Edit/Copy the key currently selected, a Key Management pop-up
  781. menu will display.  It is shown in Figure 11:
  782.  
  783.  
  784.            ┌──────────────────────────────────────────────────┐
  785.            │                  Key Management                  │
  786.            │                                                  │              
  787.            │      1   Delete this key from your key ring      │
  788.            │      2   Copy this key to an external file       │
  789.            │      3   Indicate your trust in this person      │              
  790.            │      4   Certify this key as valid               │
  791.            │      5   Remove signature(s) from this key       │              
  792.            │      6   Disable or reenable this key            │              
  793.            │      7   Quit                                    │              
  794.            │                                                  │              
  795.            └──────────────────────────────────────────────────┘
  796.            Fig. 11
  797.           
  798. Each item on the menu may be selected by pressing its corresponding "hot
  799. key" number (one through seven), mouse-clicking, or pressing ENTER.
  800.  
  801. Item number 1, Deletion is the PGP command: [-kr].  Choose this option
  802. to remove the currently selected key from your key ring.  Removal is
  803. permanent so make sure you really want to delete that person from your
  804. key ring.
  805.  
  806. Item number 2, Copy (Extraction) is the PGP command: [-kxa].  Choose this
  807. option when you want to make a duplicate, or a copy, or any key (including
  808. your own) on your public key ring.  Usually you will need to do this when
  809. you want to give your key to someone else.  You may also use this option
  810. after signing someone else's key that they have just given to you.  That
  811. way they can have their key back with your signature on it.  Notice that
  812. PGPShell adds the "a" (for ASCII) onto the command.  Without it, the key
  813. would be extracted in binary format; nothing wrong with that, except that
  814. most remailers on the Internet will not handle binary format correctly.
  815. As a default PGPShell uses the ASCII option throughout because that has
  816. become the standard among most PGP users.  This is especially so when you
  817. consider the recent popularity and explosion of users on the Internet who
  818. are exchanging keys and messages via Internet remailers.
  819.  
  820. Item number 3, Trust Determination is the PGP command: [-ke].  Choose this
  821. option when you want to indicate your trust of the key currently selected.
  822. Unfortunately, many PGP users never use this option correctly.  I won't go
  823. into detail here, but see the section on PGP's "web of trust" for more 
  824. information on to correctly determine trust parameters.  If you haven't
  825. read the PGP documentation, then by all means, do so.
  826.  
  827. Item number 4, Certification is the PGP command: [-ks].  Choose this option   
  828. to certify someone else's key on your key ring.  Many a "key signing party"
  829. has taken place where this command gets used.  When you certify someone's
  830. key, you are saying to the rest of the world that this person is who they
  831. say they are.  No one has really addressed the issue of whether or not you
  832. should play "cop" and ask to see a driver's license.  Although as I write
  833. this, some California Cypherpunks jokingly asked for each other's driver's
  834. licenses, presumably to counter the dangerous Tentacles of Medusa and other
  835. psuedospoofing tactics that have (tongue-in-cheek) manifested recently.
  836. Should you require firm identification?  Probably not.  This isn't to say
  837. that circumstances may be different for you.  If you're a Bosnian Serb
  838. fighting Muslims and Croatians around Sarajevo, you may have different 
  839. authentification standards than some fellas hanging out at the coffee shop.
  840.  
  841. Item number 5, Signature Removal is the PGP command: [-krs].  Choose this
  842. option to remove one (or more) signator's from the key currently selected.
  843. If a key has a signature of a person that you have never heard of, then
  844. only their KeyID will be displayed in the Current Key Box.  PGP's "web of
  845. trust" organization encourages this, because you never know who you may
  846. run into in the future that, once you add their key to your public key
  847. ring, their name triggers those KeyID's into giving you a positive 
  848. identification of who they are and what their relationship is to your new
  849. found friend.  Nevertheless, there may be reasons why you want to remove
  850. on or more signature's from a given key.
  851.  
  852. Item number 6, Disable/Reenable is the PGP command: [-kd].  Choose this
  853. option to disable (make inactive) or, if already disabled, reenabled.
  854. You will probably use this option very rarely.  Originally it was designed
  855. to act as a substitute for a key revocation certificate in the event that
  856. someone's secret key was compromised.  But if that person lost their 
  857. secret key, they would be unable to issue a revocation certificate (it can
  858. be a Catch-22, the lesson is don't lose your secret key!)  Disabling a
  859. public key will render is useless for anything except signature checking.
  860. You cannot send an encrypted message to a recipient whose key has been
  861. disabled.
  862.  
  863. Item number 7 will dispose of the Key Management menu and take you back to
  864. the Key Management Screen.
  865.  
  866.  
  867.  
  868.  
  869. F3 Function Key - Compose Message
  870. ---------------------------------
  871.  
  872. PGPShell allows you to compose PGP-encrypted messages to the recipients
  873. on your public key ring from the Key Management Screen.  Just press the
  874. spacebar to toggle the names in the UserID Box on or off, like a light
  875. switch.  A checkmark (√) will appear to the left of the selected name after
  876. you press the spacebar key.  Here is a sample of the Key Management Screen
  877. again, only I have checkmarked "Hober Mallow" and "R. Weston Holland":
  878.  
  879. ┌─────────────────────────┐┌────────────────────────────────────────────────┐
  880. │ √ Hober Mallow, Trader  ││ F1 - Help                                      │
  881. │√ R. Weston Holland     ││ F2 - Edit/Copy key currently selected          │
  882. │   Douglas Bradley       ││ F3 - Compose message to checkmarked recipients │
  883. │   Wendy O. Williams     │ F4 - Add a new key to current key ring         │
  884. │   Fyodor Dostoyevsky    ││ F5 - Choose a different PGP key ring           │  
  885. └─────────────────────────┘└────────────────────────────────────────────────┘
  886. ┌───────────────────────────────────────────────────────────────────────────┐
  887. │      UserID: Douglas Bradley                                              │
  888. │      E-mail: bradleyr@ucsu.colorado.edu            KeyID: A8E45D86        │
  889. │      Fingerprint: 04 59 CA C3 89 2C 28 CC  15 E0 71 59 E7 89 CF 7C        │
  890. │                                                                           │
  891. │      Signatures Attached:               Your Trust of This Person:        │
  892. │                                                                           │
  893. │      Johannes Kepler                              ultimate                │
  894. │      Nathaniel David Jones                        marginal                │
  895. │                                                                           │
  896. │                                                                           │
  897. │                                                                           │
  898. │                                                                           │
  899. │                          ┌───────────────────────┐                        │
  900. │ Your personal trust of R.│Create a New Message? Y│nal                     │
  901. │ PGP has determined the va└───────────────────────┘to be: complete         │
  902. └───────────────────────────────────────────────────────────────────────────┘
  903.  
  904. After checkmarking the two recipients and pressing F3 to compose a PGP-
  905. encrypted message to them, a dialog box will pop up at the bottom of the
  906. KMS asking, "Create a New Message?"  If you want to compose a message to
  907. them from scratch then answer "Y" by pressing the 'y' key.  If you have
  908. previously composed or wish to continue editing a message, answer "N" (by
  909. pressing the 'n' key) and a directory dialog box will pop up to the left of
  910. the screen.  Just find the file you were working on and press ENTER (or
  911. click with your mouse).  If you change your mind during the selection of
  912. a file, you can always press the Escape key to return to the KMS.
  913.  
  914. If you answer 'yes' and wish to create a new file, PGPShell will ask you
  915. to name it.  Any legal DOS filename is acceptable.  See the text editor
  916. section further on for details about using the PGPShell Editor.
  917.  
  918.  
  919.  
  920. F4 - Add a New Key
  921. ------------------
  922.  
  923. To add a new key to your public key ring, press the F4 function key.
  924. A directory dialogue box will pop up and wait for you to point and
  925. click on the key file.  If you change your mind, just press the ESC
  926. key and you will return to the KMS.
  927.  
  928.  
  929. Okay, so we've gone over the Key Management Screen pretty thoroughly, but
  930. it still may not make much sense to you if you're not very familiar with 
  931. PGP.  That's okay, once you get a few keys on your key ring (mine for 
  932. instance it should be included with PGPShell as KEPLER.ASC), you'll get
  933. the hang of it.  Practice using PGPShell by going into the Key Management 
  934. Screen and pressing "F4".  Choose my key and add it to your key ring.  Then 
  935. click on it (or press ENTER) to view the stats.  Unless you've met me in
  936. person though, don't sign it!  How do you know I am who I say I am?  More on 
  937. this stuff later though when I get into PGP's "web of trust."
  938.  
  939.  
  940.  
  941. F5 - Choose a different Key Ring 
  942. --------------------------------
  943.  
  944. This function key allows you to choose between many different key files
  945. that you may have created.  Some people will have one key pair for their
  946. personal correspondence and another for business entities.  Families
  947. find it useful to keep their key pairs separate too.  Clicking once with
  948. the mouse will also invoke this function.  You'll find this function
  949. useful for switching between your public and secret keys.  The default  
  950. directory that PGPShell will show you is the PGPPATH directory.
  951.  
  952. Be aware that choosing a key ring file outside of the current PGPPATH
  953. directory will not change the PGPPATH environment variable automatically.
  954. You will be able to pull up key ring files in other directories and 
  955. look at them in PGPShell, but you will not be able to manipulate them,
  956. because PGP will not know that they are there; it is still looking at
  957. the PGPPATH directory.  To conveniently work with multiple key rings,
  958. keep them in the PGPPATH directory and rename them to a logical name
  959. that you find intuitive.  For instance, you might have a key pair 
  960. called "PRIMUS.PUB" and "PRIMUS.SEC" for your business, and another
  961. pair called "JOHANN.PUB" and "JOHANN.SEC" for your personal use.  
  962. Families might employ first names to rename their key files to in
  963. order to intuitively tell them apart.
  964.  
  965. If all else fails and you must have different key pairs in more than
  966. one directory, just exit PGPShell, set the new PGPPATH environment
  967. variable, and restart PGPShell.
  968.  
  969.  
  970.  
  971.  
  972. PGP AND THE "WEB OF TRUST"
  973. --------------------------
  974.  
  975. In keeping with the informality of this documentation, I'll digress into
  976. a little anecdote.  Recently I attended a UNIX users conference in Boulder
  977. in which Philip Zimmermann (the author of PGP) gave a lecture on public key
  978. encryption and PGP in general.  Throughout most of the meeting, he
  979. patiently answered questions concerning specific calculations of the IDEA
  980. algorithm, and the potential for brute force attacks on one's secret key.
  981. Finally he said something to the effect of, "Encryption is fine, but I
  982. would rather talk about something more important; the politics of PGP."
  983.  
  984. Well said!  Encryption is for the cryptologists; privacy is our gig.
  985. Only a fraction of us know much about the mathematics of encryption
  986. ciphers.  Fortunately, PGP was not made for the cryptologists.  It was 
  987. made for you and I, people who desire a level of privacy in our lives 
  988. that traditional e-mail doesn't have.  So let's talk about the politics 
  989. of PGP and specifically the "web of trust."
  990.  
  991. Half of all the source code in PGP is dedicated to key authentication,
  992. trust level, and certification tracking.  Good key management is
  993. essential if you are to succeed in knowing who's who on your key ring.
  994.  
  995. Let's start with your own keys.  PGP recognizes your personal private
  996. and public keys as "ultimate" for purposes of trust.  That means that you
  997. are trusted "ultimately" to act as an introducer to others should they
  998. provide you a copy of their key.  In PGP-talk, an "introducer" is any
  999. person who is with PGP public keys, what a notary public is with important
  1000. documents.  Picture a world where everyone is a notary public; stamping 
  1001. each others documents with their own official seals, verifying the validity 
  1002. of documents based upon the trustworthiness of the person who stamped it.  
  1003. That's the world of PGP, only instead of notary public seals, we have secret 
  1004. keys.  And everyone who uses PGP has the capability of acting in the role of 
  1005. an introducer.  Zimmermann describes this as a "guerilla-style" model of
  1006. society rather than the more formalized "hierarchical" approach.
  1007.  
  1008. PGP automatically ranks your own keys as "ultimate" and uses that as a base
  1009. for the determination of the trust and validity of every other key on your
  1010. key ring.  PGP weighs the validity of keys based upon your trust of, either 
  1011. that person directly, or indirectly if you have indicated a trust in a third 
  1012. party.  Here's an example:
  1013.  
  1014. You know "Jane" personally (she's your girlfriend as a matter of fact) and
  1015. trust her very well so you have signed her key and indicated your trust in
  1016. her as "complete."  (The highest trust you can place in someone other than
  1017. yourself).  PGPShell displays Jane's key like this:
  1018.  
  1019. Jane's Key
  1020. ----------
  1021.  
  1022.         Signatures Attached:         Your Trust of This Person:
  1023.  
  1024.           Your_Name_Here                      ultimate
  1025.  
  1026.    Your trust of Jane is:  complete.
  1027.    PGP has determined the validity as:  complete.  <--- PGP's decision
  1028.  
  1029.  
  1030. Notice that PGP has automatically weighed its own determination of the
  1031. validity of Jane based upon your indication of trust in her.  PGP doesn't
  1032. pull this stuff out of a hat, there are parameters that you set in PGP's
  1033. CONFIG.TXT file for telling PGP how much to trust someone.  Here's what
  1034. that part of my CONFIG.TXT file looks like:
  1035.  
  1036.   # Number of completely trusted signatures needed to make a key valid.
  1037.   Completes_Needed = 1
  1038.  
  1039.   # Number of marginally trusted signatures needed to make a key valid.
  1040.   Marginals_Needed = 3
  1041.  
  1042. I have configured PGP to validate someone's key if one signature is
  1043. completely trusted.  If a signator is only marginally trusted, then it
  1044. takes three such signatures to validate the key.
  1045.  
  1046. Okay, so let's go back to good ol' Jane, your girlfriend.  The next day
  1047. "Joe" gives you his public key.  You don't know Joe very well, but Jane
  1048. does and she says he's a real swell guy.  So you put Joe on your key ring
  1049. and take a peek at it in PGPShell:
  1050.  
  1051.  
  1052. Joe's Key
  1053. ---------
  1054.  
  1055.      Signatures Attached:         Your Trust of This Person:
  1056.  
  1057.            Jane                          complete
  1058.  
  1059.    Your trust of Joe is:  unknown.
  1060.    PGP has determined the validity as:  complete.
  1061.  
  1062.  
  1063. "Aha," you say to yourself, Jane has signed Joe's key.  Notice how
  1064. PGPShell displays your trust of the signator (Jane) and then at the bottom
  1065. of the screen displays your trust of Joe as "unknown" because you have
  1066. never set the trust parameter and only just put the key on your ring.
  1067. Nevertheless the CONFIG.TXT validity parameters are set as "One complete
  1068. makes a key valid" so PGP determines the validity to be "complete."  This
  1069. is what is meant by a "web of trust", you trust Jane, Jane trusts Joe, so
  1070. therefore PGP trusts Joe.
  1071.  
  1072.                          A trusts B, and
  1073.                          B trusts C, so
  1074.                          A trusts C.
  1075.  
  1076. Joe comes over to your apartment later that day and you find him to be
  1077. a nice and real friendly guy.  He loans you 5 bucks as a matter of fact.
  1078. "What a swell guy," you think.  Still, it's too early to make a personal
  1079. determination of your trust in Joe so you stay with PGP's determination
  1080. for now.
  1081.  
  1082. A few days later, something weird happens.  You come home from work and
  1083. there's a letter sitting on your keyboard that says something to the effect
  1084. of, "Dear Computer Nerd, I have left you for Joe.  Goodbye, Jane."  
  1085.  
  1086. "I'll show her!" you say to yourself.  After firing up your computer, and
  1087. starting PGPShell, you highlight Jane's key and change your trust of her 
  1088. from "complete" to "no" trust at all.
  1089.  
  1090. Because you have changed your trust in your now ex-girlfriend, it sends
  1091. a "ripple effect" throughout all of your other keys on your key ring.
  1092. Remember that you still haven't made a trust determination for Joe, instead
  1093. letting PGP determine it for you until you got to know him better.  Let's
  1094. look at Joe's key now:
  1095.  
  1096.  
  1097. Joe's Key After the Breakup
  1098. ---------------------------
  1099.  
  1100.      Signatures Attached:         Your Trust of This Person:
  1101.  
  1102.            Jane                              untrusted
  1103.  
  1104.    Your trust of Joe is:  unknown.
  1105.    PGP has determined the validity as:  undefined.  <----- changed!
  1106.  
  1107.  
  1108. Notice that PGP is nice enough to not condemn Joe right along with Jane.
  1109. It merely lists its determination of Joe as "undefined" rather than
  1110. "untrusted" like Jane.  It leaves it up to you to gauge Joe's trustworth-
  1111. iness from now on based upon events as they unfold.
  1112.  
  1113. The point behind the web of trust model that PGP uses, is that everything
  1114. is determined and weighed based upon your trust of all of the people on
  1115. your public key.  The "domino effect" could downgrade other "tentacles"
  1116. (inside joke...) attached to a key that you edit.
  1117.  
  1118. Likewise, if you upgrade your trust in someone, it could affect several
  1119. other keys with signatures attached to this one and make their keys valid.
  1120.  
  1121. You should take the editing of trust parameters very seriously because it 
  1122. will affect not just other keys on your key ring, but the keys on other 
  1123. peoples key rings as well (if you trade keys).  Perhaps "erring on the side 
  1124. of caution," isn't a bad idea when it comes to the management of the keys on 
  1125. your key ring.  Don't be afraid to make changes to your keys either.  The
  1126. important thing is to be very honest and make a good judgment call.  Don't
  1127. worry about what other people will think--PGP keeps your trust parameters
  1128. private (on your secret key) and no one else will know about what you
  1129. think.
  1130.  
  1131.  
  1132.  
  1133. ADVANCED ENCRYPTION TECHNIQUES
  1134. ---------------------------------------------------------------------------
  1135.  
  1136. The RAM Drive
  1137. ~~~~~~~~~~~~~
  1138.  
  1139. Some people have grown up on Windows' smart drive and DOS Shells and have 
  1140. forgotten what oldish things like RAM drives are all about.  In issues 
  1141. such as privacy however, a RAM drive is an extra safety net to insure that 
  1142. your secret key is not compromised in any way.  Here's how to set one up.
  1143. Insert this line into your CONFIG.SYS file:
  1144.  
  1145.                 DEVICE=C:\DOS\RAMDRIVE.SYS 1024 /e
  1146.  
  1147. If you have a 386 or better computer, you could type "DEVICEhigh" instead
  1148. of DEVICE to load the RAMDRIVE.SYS driver into high memory, but its only
  1149. about 6K so its not crucial.  The 1024 block of memory (1 meg) is the size 
  1150. of your RAM drive, and the switch "e" (/e) means you wish to use "extended" 
  1151. memory for your virtual drive. 
  1152.  
  1153. Reboot your computer for these changes to take effect.  Your RAM drive
  1154. will be given the next letter after your physical hard drive, i.e., if
  1155. you have a single hard drive "C:" like most people, the RAM drive will
  1156. be called "D".  Type "cd d:" at the DOS prompt and you are in your RAM
  1157. drive.   
  1158.  
  1159. The advantage of creating and using a RAM drive for PGP is that the RAM
  1160. drive "D" is not physical, but located only in memory.  That way when
  1161. you shut down your computer, PGP disappears with it, and any trace of
  1162. your secret key as well.  Advanced PGP users keep the critical PGP
  1163. files (CONFIG.TXT, PGP.EXE, PUBRING.PGP, SECRING.PGP, etc.) on a floppy
  1164. that they carry around with them and only use PGP in their virtual RAM
  1165. drives.  When you want to enter a PGP session, just put the floppy in,
  1166. and type "copy a:*.* d:" and your PGP files will be in the RAM drive.
  1167.  
  1168. You can do this and still keep a copy of PGPShell in a C:\PGPSHELL directory 
  1169. to use PGP.  Before starting a PGP session, just type "set pgppath=d:" at 
  1170. the DOS prompt, (or insert this command in your AUTOEXEC.BAT file if you use 
  1171. PGP often) to tell DOS that you've put PGP in a RAM drive.  PGPShell will 
  1172. look at the DOS environment and see that PGP is located in the D: drive, 
  1173. and work on everything in there.  
  1174.  
  1175. Don't worry about loading PGPShell into your RAM drive; PGPShell itself is
  1176. harmless and contains nothing that would compromise your secret key ring.
  1177.  
  1178. Don't forget to copy the contents of the RAM drive back onto your floppy
  1179. after exiting PGPShell, especially if you've added to, deleted or otherwise
  1180. modified your keys.  Once you shut off your computer anything located
  1181. in RAM memory will be gone with it!
  1182.  
  1183. Consult those old dusty DOS manuals for more information on creating
  1184. and using RAM drives.
  1185.  
  1186.  
  1187.  
  1188. The Encrypted Drive
  1189. ~~~~~~~~~~~~~~~~~~~
  1190.  
  1191. Even safer and more convenient than the RAM drive, is the encrypted
  1192. drive.  Mike Ingle's "Secure Drive" program (currently version 1.0)
  1193. is a rare needle in the software haystack allowing you to partition
  1194. a portion of your hard drive and physically encrypt it using the
  1195. same technology that PGP uses.
  1196.  
  1197. Using Secure Drive, slice off a good chunk of real estate from your
  1198. C drive (at least 5 megs) using DOS' FDISK command to create a
  1199. secondary partition.  (Follow the directions in your DOS manual to
  1200. do this.)  Then, put your PGP files, including your key pair into
  1201. the encrypted drive.  Your PGP files are encrypted and safely protected
  1202. from the outside world.
  1203.  
  1204. Read Mike's documentation carefully when you use Secure Drive.  The
  1205. most important thing to remember is that you should turn your computer
  1206. off (or do some kind of cold boot) so that your pass phrase is removed
  1207. from memory.  There's no way to mess with the TSR that manages the
  1208. Secure Drive partition (in an attempt to gather your pass phrase) if
  1209. you perform a cold boot on your machine after using the Secure Drive.
  1210.  
  1211. You can obtain Secure Drive as: SECDRV13E.ZIP from numerous sites in
  1212. the U.S. only (not for export as of this writing) on the Hieroglyphic
  1213. Voodoo Machine BBS in the Free Files section.  The phone number is
  1214. 1.303.443.2457 (N81 V.32bis).  [Note:  As of the original writing of
  1215. the documention for PGPShell a newcomer on the scene has arrived:
  1216. "Secure Device" is another crypto tool worthy of your consideration.
  1217. You can pick this up at Mike Johnson's FTP site (see WHAT_IS.PGP) or
  1218. on my BBS as SECDV??.ZIP in the free files area.]
  1219.  
  1220.  
  1221.  
  1222. The Hidden Directory
  1223. ~~~~~~~~~~~~~~~~~~~~
  1224.  
  1225. The hidden directory is the oldest trick in the book (and many a bane 
  1226. to system admins trying to clean up directory trees).  Although far from 
  1227. foolproof, the hidden directory will slow down nosy co-workers who may 
  1228. be snooping on your computer while you're at lunch.  
  1229.  
  1230. Let's say you're not paranoid enough to warrant the use of a RAM drive 
  1231. but you still don't want anyone knowing you use PGP.  Here's the next  
  1232. best thing:
  1233.  
  1234. Go into a mundane directory tree like \DOS or \WINDOWS\SYSTEMS where 
  1235. no one ever looks and create a subdir called something harmless like 
  1236. "SYS" or "BIN".  Copy all of your PGP stuff into that directory 
  1237. (let's say C:\DOS\BIN for example.)  Then get back out to C:\DOS and 
  1238. type:  "ATTRIB +H BIN" from the DOS prompt.  Using the DOS "Attribute" 
  1239. command, you've hidden (+H) the BIN subdirectory from view.  Its still 
  1240. there, but someone would have to know what they were doing to find it.
  1241. (If you want to see it type "ATTRIB BIN" from the DOS prompt.)
  1242.  
  1243. When you want to use PGP, just type "set pgppath=c:\dos\bin" at a DOS
  1244. prompt and you're set.  Here's a good batch file to use (which you 
  1245. can hide as well) that can be located anywhere along the DOS path:
  1246.  
  1247.                         @echo off
  1248.                         set pgppath=c:\dos\bin
  1249.                         cd \pgpshell
  1250.                         pgpshell
  1251.  
  1252. Call the batch file something dumb like "READ_DIR.BAT" or hide it by
  1253. using ATTRIB like this:  ATTRIB +H READ_DIR.BAT so that the pgppath
  1254. statement is not compromised easily.  Whenever you want to use PGP
  1255. just type READ_DIR and everything will load for you.
  1256.  
  1257. This isn't 100%, as I stated before, but its good enough to fool most
  1258. people since they won't mess around with something that they don't 
  1259. even know is there.  If people or police are specifically looking for 
  1260. PGP or encrypted messages on your system, then you're screwed anyway; 
  1261. call a lawyer.
  1262.  
  1263.  
  1264. The Paranoid Encryptor
  1265. ~~~~~~~~~~~~~~~~~~~~~~
  1266.  
  1267. This one is courtesy of the handful of paranoid people that warned me to
  1268. be careful because, as a result of PGPShell "they" will be out to get me. 
  1269.  
  1270. Nevertheless, there may be occasions when the enemy is very real, and you 
  1271. cannot afford to have your encrypted messages cracked by those naughty 
  1272. NSA Cray computers.  One way in which a computer is able to crack your 
  1273. message is by applying a consistent mathematical algorithm (a brute force 
  1274. attack) against your message until a pattern emerges that spells out words.  
  1275. Your RANDSEED.BIN 24-byte file (Random Seed Binary) is where PGP draws its
  1276. material from when it comes time to encrypt your message.  A computer is  
  1277. not able to generate truly random acts on its own, thats why PGP needed you
  1278. to monkey-type at random when you first created your personal keys.
  1279.  
  1280. If PGP can't find a RANDSEED.BIN file, it will create a seed file
  1281. "on the fly" and ask you to bang away on your keyboard just before 
  1282. encrypting.  By inserting a line at the end of the above READ_DIR batch 
  1283. file like this:  "del c:\dos\bin\randseed.bin", you'll create a new seed 
  1284. file each time you use PGP.  This will blow any pattern that could possibly 
  1285. develop over time (during which the attacker is amassing your encrypted 
  1286. messages and studying each of them for patterns).  PGP's own RANDSEED.BIN  
  1287. file does a good job of providing enough material for encryption, but 
  1288. this option is still a "safety net" of sorts for the truly paranoid.
  1289.  
  1290.  
  1291.  
  1292.  
  1293. CLOSING COMMENTS
  1294. ----------------------------------------------------------------------------
  1295.  
  1296. PGPShell should be easy to use.  If it isn't, then I failed somewhere.
  1297. Many users want to use encryption but face a "mental block" when using
  1298. PGP because of its intimidating UNIX command-line interface.  My hope is 
  1299. that more people who want to get into encryption, will do so through 
  1300. the friendlier PGPShell environment.  My philosophy is that this is   
  1301. YOUR program and that I am merely the caretaker of it.
  1302.  
  1303. If you have any questions or comments, please feel free to e-mail me on 
  1304. the Internet at <still@rintintin.colorado.edu> or at the Voodoo Machine 
  1305. if you're a BBSer.  If you e-mail me, please don't encrypt it (I know that 
  1306. in the past I said "send me an encrypted e-mail for practice") but the 
  1307. problem was *everybody* did just that.  I was swamped with ASCII code and 
  1308. had to decrypt it all before knowing what was said.  Just jot it down
  1309. normal-fashion, and I can reply to you more easily.
  1310.  
  1311. Also included in this file is KEPLER.ASC which is my public key.  Practice  
  1312. with it if you're new to encryption.  Try adding it to your key ring, 
  1313. deleting it, etc.  
  1314.  
  1315.  
  1316.     
  1317. REGISTRATION
  1318. ----------------------------------------------------------------------------
  1319.  
  1320. Registering (purchasing) PGPShell allows you to use the product after
  1321. the trial period.  Registered PGPShell users get the current version of
  1322. PGPShell on disk along with their own serial number, and priority when
  1323. electronically mailing me for User Support (still@rintintin.colorado.edu)
  1324. or on my BBS at +1 303 443 2457 (V.32bis N81).  I cannot guarantee
  1325. User Support to unregistered users, but I will do my best.  To register
  1326. PGPShell with your VISA or MasterCard, call 1-800-333-HEAR (4327).
  1327.  
  1328. --->  Please remember that this is an orders-only line!  The guys 
  1329.       who answer the phone sell hearing aids (don't ask...) and
  1330.       don't know the first thing about programming or PGPShell.
  1331.       They will NOT be able to answer your questions regarding the 
  1332.       use or functionality of PGPShell. 
  1333.  
  1334. Ten-percent of all revenues from PGPShell will be donated to the
  1335. Philip Zimmermann Legal Defense Fund in Boulder, Colorado, to assist
  1336. the author of PGP in his long, expensive criminal investigation by
  1337. the U.S. Customs Bureau.  I will personally send a letter to the
  1338. defense fund's attorney, Phil Dubois (and forward a carbon copy
  1339. directly to Philip Zimmermann) and sign the names of all registered
  1340. users to the letter indicating the amount of the collective donation,
  1341. and include the donation in the form of a bank-certified check.
  1342. Notice of the donation will be posted prominently on at least the
  1343. Hieroglyphic Voodoo Machine BBS and the Cypherpunks Mailing List
  1344. when it is made.
  1345.  
  1346. PGPShell registration costs $20 in U.S. funds, (includes shipping) for
  1347. a registered copy of PGPShell on disk.  A commercial site license is
  1348. available to government or company entities for a one-time fee of
  1349. $199 in U.S. funds, and has no workstation restrictions.  A bound,
  1350. printed manual is available at an additional cost of $5 per copy,
  1351. including shipping charges.  An evaluation disk with the current trial
  1352. version of PGPShell on it is also available for a $5 fee (again in U.S.
  1353. funds). This is to be used to try out PGPShell, and does not include
  1354. registration (the right to use PGPShell after the 30-day evaluation
  1355. period). The fee covers the cost of the diskette and shipping and
  1356. handling charges.  
  1357.  
  1358. Mail registration to: James Still, P.O. Box 1583, Boulder, CO  80306-1583.
  1359.  
  1360. Payment may be in the form of check or money order that I can deposit
  1361. in a U.S. bank.  I will also accept corporate or academic purchase orders
  1362. for the site license fee only and not the single-user license cost.
  1363. I must be able to deposit the check into my bank account or I cannot
  1364. process your registration.
  1365.  
  1366.  
  1367.  
  1368.  
  1369.  
  1370. QUESTIONS & ANSWERS
  1371. --------------------------------------------------------------------------
  1372.  
  1373. Q:  I notice that PGPShell runs an output routine to gather data from
  1374.     my public key rings.  My key ring is very large and this takes too
  1375.     long; isn't there some other way to do this?
  1376.  
  1377. A:  The answer is yes and no.  (or maybe not really...)  After
  1378.     experimenting with various ways of collecting PGP data, the "all
  1379.     at once" way was the best, proving to be as seamless to the end
  1380.     user as possible.   
  1381.     
  1382.     Lately there has been a strange obsession by a good number of 
  1383.     enthusiasts to actually possess every single key that they can 
  1384.     acquire from the Internet key servers and public-domain key rings.
  1385.     Alt.security.pgp posters have naively boasted of their enormous 
  1386.     2 and 3 thousand-key rings, as if encryption and 'crypto-anarchy' 
  1387.     were like a Hollywood move and accomplished through sheer numbers 
  1388.     alone. (Pardon the word play...)  PGPShell was not designed for 
  1389.     the 'baseball card' collector or the fasionable crypto-poseur.  
  1390.     It was designed for the serious encryption-user who uses PGP 
  1391.     *daily* and needs a coherent, understandable program for managing 
  1392.     and working with a key ring of a couple dozen keys or so.  
  1393.     
  1394.     If you have a slow computer, or grow impatient at this output 
  1395.     routine, you should copy those keys that you don't need or use 
  1396.     into a "repository" directory (perhaps in a subdirectory named 
  1397.     KEYS off of the main C:\PGPSHELL directory) and only add them 
  1398.     on if you need them for that 'once in a while' e-mail message.  
  1399.     This will keep your key ring smaller and a lot easier to manage.
  1400.  
  1401.  
  1402. Q:  Why isn't there a Windows version of PGPShell?
  1403.  
  1404. A:  PGPShell can be run from Windows already if you create a PIF file 
  1405.     with low graphics, foreground use, etc.  Usually this question is  
  1406.     asked more from a compatibility or aesthetics standpoint ("I'd like
  1407.     to see a cool looking icon....")  Several things:
  1408.  
  1409.     o   A good many people in places like the former Soviet Union 
  1410.         who remember the pre-Perestroika days and wish to use PGP,
  1411.         still don't have access to 386+ computers, let alone the 
  1412.         latest graphical operating systems like here in the West.
  1413.  
  1414.     o   Having said that, my time is limited because I'm in college
  1415.         so multiple ports (and the subsequent support for each) to
  1416.         various operating systems is not realistic; I have to choose
  1417.         which to support.
  1418.  
  1419.     o   I decided that, given the purpose and reason for PGP (Phil's
  1420.         vision of grass-roots based communication, et. al.) serving
  1421.         the 640K RAM, DOS-based XT's (and monochrome monitor folks) 
  1422.         and above was the best choice.
  1423.  
  1424.  
  1425. Q:  When I first start PGPShell, it runs some PGP commands while a
  1426.     dialogue box says, "Please wait, gathering PGP data...."  But
  1427.     then it locks up and I have to reboot.
  1428.  
  1429. A:  90% of the time that this happens it is because you have a bad
  1430.     key on your key ring.  When PGP asks you to certify a key (and
  1431.     gives you 4 choices of certification levels) it does not perform
  1432.     error correction upon user input.  In other words, if you type
  1433.     'Y' instead of one through four, PGP will not catch the error
  1434.     and ask you to reenter; instead waiting until the next time you
  1435.     invoke PGP to fix the error.  Run the "PGP -kc" command from 
  1436.     the DOS prompt to have PGP look for and correct any bad keys
  1437.     on your key ring and the lockup problem should be fixed.
  1438.  
  1439.     For the other 10% of the time (and if it still occurs after 
  1440.     the -kc command has been executed) it is probably because PGP
  1441.     has run out of memory and has died.  This is especially true
  1442.     with v2.3a, but beginning with PGP v2.6 an "out of memory"
  1443.     error will display instead of locking up.
  1444.  
  1445.  
  1446. Q:  I keep getting "out of memory" errors when trying to run PGP
  1447.     from within PGPShell.
  1448.  
  1449. A:  PGPShell shares a "parent-child" relationship with PGP, which
  1450.     means that PGPShell runs PGP as a "child process" when you
  1451.     invoke PGP commands from within the shell.  In order for this
  1452.     to work, PGPShell must give PGP as much memory as possible,
  1453.     while still scraping together a little bit to keep itself going.
  1454.     Data encryption is already a very memory-intensive process,
  1455.     so you will find it difficult to run PGP and/or PGPShell if you
  1456.     are also loading several other drivers or TSR's.  You should
  1457.     first remove unnecessary drivers and TSR's from memory and
  1458.     reboot your computer to see if that frees up enough memory to
  1459.     run PGPShell.  Also reducing your files and buffers in your
  1460.     CONFIG.SYS file may help with memory problems.
  1461.  
  1462.  
  1463. Q:  Everytime I try to add, remove, or otherwise work with my key
  1464.     ring PGP gives me error messages of "UserID not found" and it
  1465.     doesn't seem to be able to read it even though the shell shows
  1466.     everything fine.  What's up?
  1467.  
  1468. A:  Check to make sure that the key you have loaded into PGPShell
  1469.     is pointed to by the DOS environment variable PGPPATH.  If you
  1470.     are unsure, exit PGPShell and type "set pgppath=[filepath] and
  1471.     try again.  PGPShell may read and load a keyring fine, but if
  1472.     PGP doesn't know about it (through PGPPATH) you'll get error
  1473.     messages.  Also make sure that the MyName config variable in
  1474.     the CONFIG.TXT file is entered in quotes and that your UserID
  1475.     is spelled correctly.
  1476.  
  1477.  
  1478. Q:  What gives?  My key displays garbage at the bottom of the KMS!
  1479.  
  1480. A:  You either misspelled or forgot to type your UserID in the
  1481.     "MyName" configuration of PGP's CONFIG.TXT file.
  1482.  
  1483.  
  1484. Q:  When I enter the Key Management Screen from the main menu 
  1485.     PGPShell doesn't display any keys at all!
  1486.  
  1487. A:  The PGP.EXE file is probably missing from the PGPPATH directory
  1488.     and the keys were not gathered properly upon startup.  Make
  1489.     sure that PGPPATH points to your PGP directory.
  1490.  
  1491.  
  1492.  
  1493.  
  1494. DISCLAIMER OF WARRANTY
  1495. --------------------------------------------------------------------------
  1496.  
  1497. This software and manual are sold "AS IS" and without warranties as to
  1498. performance of merchantability or any other warranties whether expressed
  1499. or implied.  Because of the various hardware and software environments
  1500. into which this program may be put, no warranty of fitness for a particular
  1501. purpose is offered.
  1502.  
  1503. Good data processing procedure dictates that any program be thoroughly
  1504. tested with non-critical data before relying on it.  The User must assume
  1505. the entire risk of using the program.  Any liability of the seller will be
  1506. limited exclusively to product replacement or refund of purchase price.
  1507.  
  1508. James Still disclaims all warranties, expressed or implied, including
  1509. without limitation, the warranties of use and/or fitness of PGPShell for
  1510. any purpose.  James Still assumes no liabilities for damages, direct or
  1511. consequential, which may result from the use or misuse of PGPShell.  Are
  1512. you writing this down?
  1513.  
  1514.  
  1515.  
  1516.  
  1517.  
  1518. CREDITS
  1519. ----------------------------------------------------------------------------
  1520.  
  1521. Pretty Good Privacy (PGP) is copyrighted by Philip Zimmermann.  Thanks Phil!
  1522. Now solid public key encrypton tools and secure communications are possible
  1523. for us normal folks...
  1524.  
  1525. Also thanks to Katherine, my wife, for being a extraordinarily special
  1526. companion and putting up with my weird, conspiratorial diatribes to her
  1527. friends at those "posh" mountain parties.
  1528.         
  1529. Bye!
  1530.     
  1531.  
  1532. PGPShell is Copyright (c) 1992-1994 by James Still. All Rights Reserved.
  1533. ----- EOF ---------------------------------------------------------------
  1534.